xen: arm: make sure gcc doesn't use floating-point registers on arm64
authorIan Campbell <ian.campbell@citrix.com>
Thu, 26 Jun 2014 16:30:14 +0000 (17:30 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 27 Jun 2014 10:03:46 +0000 (11:03 +0100)
commitc0726c18e8135f87a5a5793d993d6bea1e3fa925
tree642c6ff36584997855ced029a41b7c159fc1365f
parent1c9d2acad014e997771c09d75bc071db754d2f4b
xen: arm: make sure gcc doesn't use floating-point registers on arm64

By using -mgeneral-regs-only which is the Aarch64 equivalent to
-msoft-float.

Otherwise gcc will corrupt the d* registers, which we don't save/restore when
trapping to/from the hypervisor.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/Rules.mk